<%--
  Created by IntelliJ IDEA.
  User: landeqing
  Date: 2018/1/23
  Time: 17:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<script type="text/javascript" src="/jquery/jquery-3.2.1.min.js"></script>

<html>
<head>
    <title>加入购物车成功</title>
    <script type="text/javascript">
        $(document).ready(function () {
            alert("加入购物车成功！")
        })
        function toPay() {
            var uid='${sessionScope.user.id}';
            window.location.href="/shoppingCart/list?uid="+uid;
        }
    </script>
</head>
<body>
<input type="button" value="去购物车结算>" onclick="toPay()">
</body>
</html>
